Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Frontend] Enter the homepage immediately after signing up #576

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

badukwei
Copy link
Collaborator

@badukwei badukwei commented Nov 7, 2024

Summary

刪除 ProtectedRoute 並且在不同動作新增 Checker

Linked Issue

close #561

Details

目前用戶在還沒有執行跟身分相關的動作時,可以做所有頁面的檢視,但在執行相關,例如發文留言,的時候會跳出警示,並將用戶導到登入頁。

Copy link
Collaborator

@Xiawpohr Xiawpohr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution

} else {
callback()
}
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest to refactor this codes in the more modern style such as async/await.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[UST-222] [Frontend] Enter the homepage immediately after signing up
2 participants